package com.zg.autoflow.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
* @author zg
*/
@Data
@ApiModel(value = "新增固有字段信息", description = "新增固有字段信息")
public class AutoflowInherentFieldsAddReq {
    @ApiModelProperty(value = "id")
    private Long id;
    /**
    * 字段描述
    */
    @ApiModelProperty(value = "字段描述")
    @NotBlank(message = "字段描述不能为空")
    private String fieldsName;
    /**
    * 字段编码
    */
    @ApiModelProperty(value = "字段编码")
    @NotBlank(message = "字段编码不能为空")
    private String fieldsCode;
}
